package com.bdqn.membersystem.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import com.bdqn.membersystem.pojo.MultiLan;
import com.bdqn.membersystem.mapper.MultiLanMapper;
import com.bdqn.membersystem.service.MultiLanService;
/**
* 作者：姚岳城
* 日期：2020/4/3 16:53
*/

@Service
public class MultiLanServiceImpl implements MultiLanService{

    @Resource
    private MultiLanMapper multiLanMapper;

    @Override
    public int deleteByPrimaryKey(String elementId) {
        return multiLanMapper.deleteByPrimaryKey(elementId);
    }

    @Override
    public int insertSelective(MultiLan record) {
        return multiLanMapper.insertSelective(record);
    }

    @Override
    public MultiLan selectByPrimaryKey(String elementId) {
        return multiLanMapper.selectByPrimaryKey(elementId);
    }

    @Override
    public int updateByPrimaryKeySelective(MultiLan record) {
        return multiLanMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateBatch(List<MultiLan> list) {
        return multiLanMapper.updateBatch(list);
    }

    @Override
    public int batchInsert(List<MultiLan> list) {
        return multiLanMapper.batchInsert(list);
    }

    @Override
    public int insertOrUpdate(MultiLan record) {
        return multiLanMapper.insertOrUpdate(record);
    }

    @Override
    public int insertOrUpdateSelective(MultiLan record) {
        return multiLanMapper.insertOrUpdateSelective(record);
    }

}
